From 7b80a073023cfe430aba4f0d194f8f98ecb1dfd6 Mon Sep 17 00:00:00 2001 From: Konstantin Demin Date: Wed, 9 Jul 2025 18:23:33 +0300 Subject: [PATCH] haproxy: adjust with glibc and libcrypt-compat glibc 2.39 has removed libcrypt completely. solution: link against libxcrypt built with glibc compatibility. Signed-off-by: Konstantin Demin --- net/haproxy/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index edef6d9934..e8330b35bf 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=haproxy PKG_VERSION:=3.0.10 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://www.haproxy.org/download/3.0/src @@ -31,6 +31,7 @@ define Package/haproxy/Default CATEGORY:=Network TITLE:=TCP/HTTP Load Balancer URL:=https://www.haproxy.org/ + DEPENDS:= +USE_GLIBC:libcrypt-compat +libpcre2 +libltdl +zlib +libpthread +liblua5.4 +libatomic endef define Package/haproxy/conffiles @@ -46,7 +47,7 @@ endef define Package/haproxy $(call Package/haproxy/Default) TITLE+=with SSL support - DEPENDS+= +libpcre2 +libltdl +zlib +libpthread +liblua5.4 +libopenssl +libncurses +libreadline +libatomic + DEPENDS+= +libopenssl +libncurses +libreadline VARIANT:=ssl endef @@ -59,7 +60,6 @@ define Package/haproxy-nossl $(call Package/haproxy/Default) TITLE+=without SSL support VARIANT:=nossl - DEPENDS+= +libpcre2 +libltdl +zlib +libpthread +liblua5.4 +libatomic CONFLICTS:=haproxy endef -- 2.30.2